package sctu.edu.java.year2016.team05.zengkun.day20160528.littletest;

import sctu.edu.java.year2016.team07.nieying.practice.dibazhang.lianxiwu.Employee;

import java.awt.*;
import java.util.Date;

/**
 * Created by mike on 2016/5/28.
 */
public class LIttleTest2 {
    public static void main(String[] args) {
        Employee employee = new Employee();
        employee.setName("java");
        employee.setSalary(100);
        employee.setBirthday(new Date());
        Manger manger = new Manger();
        manger.setName("明日科技");
        manger.setSalary(3000);
        manger.setBirthday(new Date());
        manger.setBonus(2000);
        System.out.println("员工的姓名：" + employee.getName());
        System.out.println("员工的工资：" + employee.getSalary());
        System.out.println("员工的生日：" + employee.getBirthday());
        System.out.println("经理的姓名：" + manger.getName());
        System.out.println("经历的工资：" + manger.getSalary());
        System.out.println("经历的生日："+manger.getBirthday());

    }


}








